# 架构 ARCH 交叉编译器 aarch64-none-linux-gnu-
export ARCH = arm64
export CROSS_COMPILE = aarch64-none-linux-gnu-

# 目标 路径
obj-m += chrdev_fops.o
KDIR := /jnheCode/tspkfb/kernel
PWD ?= $(shell pwd)

# make 和 make clean
all:
	make -C $(KDIR) M=$(PWD) modules
clean:
	make -C $(KDIR) M=$(PWD) clean
